package org.webball.base.interfaces;

import java.io.Serializable;
import java.util.List;

/**
 * Interface provides methods used by players list
 * @author Marcin Kaczor
 *
 */
public interface IList extends Serializable{
	/**
	 * sets reference that should be updated by communication class
	 * @param list
	 */
	void setList(List<String> list);
	/**
	 * gets list of players
	 * @return
	 */
	List<String> getList();
	/**
	 * copies values from <code>list</code> to current list
	 * @param list
	 */
	void copy(IList list);
	
}
